/*  1:   */ package com.atomikos.icatch.jta;
/*  2:   */ 
/*  3:   */ import java.util.Enumeration;
/*  4:   */ import java.util.Stack;
/*  5:   */ import javax.transaction.SystemException;
/*  6:   */ 
/*  7:   */ public class ExtendedSystemException
/*  8:   */   extends SystemException
/*  9:   */ {
/* 10:   */   private Stack errors_;
/* 11:   */   
/* 12:   */   public ExtendedSystemException(String msg, Stack errors)
/* 13:   */   {
/* 14:45 */     super(msg);
/* 15:46 */     this.errors_ = errors;
/* 16:   */   }
/* 17:   */   
/* 18:   */   public Stack getErrors()
/* 19:   */   {
/* 20:57 */     return (Stack)this.errors_.clone();
/* 21:   */   }
/* 22:   */   
/* 23:   */   public void printStackTrace()
/* 24:   */   {
/* 25:62 */     super.printStackTrace();
/* 26:63 */     if (this.errors_ != null)
/* 27:   */     {
/* 28:64 */       Enumeration enumm = this.errors_.elements();
/* 29:65 */       while (enumm.hasMoreElements())
/* 30:   */       {
/* 31:66 */         Exception e = (Exception)enumm.nextElement();
/* 32:67 */         e.printStackTrace();
/* 33:   */       }
/* 34:   */     }
/* 35:   */   }
/* 36:   */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\transactions-jta\3.7.0\transactions-jta-3.7.0.jar
 * Qualified Name:     com.atomikos.icatch.jta.ExtendedSystemException
 * JD-Core Version:    0.7.0.1
 */